package com.sakura.mall.product.attrGroup.service;

import com.sakura.mall.common.response.Page;
import com.sakura.mall.product.attrGroup.domain.entity.AttrGroupEntity;
import com.sakura.mall.product.attrGroup.domain.request.AddAttrGroupRequest;
import com.sakura.mall.product.attrGroup.domain.request.UpdateAttrGroupRequest;
import com.sakura.mall.product.attrGroup.domain.request.AttrGroupPageRequest;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sakura.mall.product.attrGroup.domain.vo.AttrGroupVo;

/**
 * 属性分组 service
 *
 * @author sakura
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {
    

    /**
     * 分页查询
     *
     * @param request 请求
     * @return ret
     */
    Page<AttrGroupVo> queryPage(AttrGroupPageRequest request);

    /**
    * 注册用户
    *
    * @param request 请求
    */
    void add(AddAttrGroupRequest request);
    

    /**
     * 更新用户
     *
     * @param id      id
     * @param request 更新
     */
    void updateById(Long id, UpdateAttrGroupRequest request);
}
